package com.copm.ifm.servers.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;


/**
 * 租户表保存接口表单对象
 *
 * @author tp
 * @date 2021/1/8 14:24
 */
@Getter
@Setter
@ToString
@ApiModel("租户表保存接口表单对象")
public class SysTenantDTO {

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("类型")
    private List<Integer> type;

    @ApiModelProperty("状态 [1正常 2过期 3禁用]")
    private Integer status;

    @ApiModelProperty("过期时间")
    private LocalDateTime expireTime;

    @ApiModelProperty("是否有效")
    private Integer enabled;

    @ApiModelProperty("租户id")
    private Long tenantId;

    @ApiModelProperty("是否系统管理员，0-否，1-是")
    private Integer sysAdmin;

    @ApiModelProperty("联系人姓名")
    private String contactPerson;

    @ApiModelProperty("办公电话")
    private String telNum;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("电子邮箱地址")
    private String email;

    @ApiModelProperty("网址")
    private String website;

    @ApiModelProperty("统一社会信用代码")
    private String creditCode;
}
